export default [
  {
    path: '/',
    component: () => import('@/layout/BaseLayout.vue'),
    children: [
      {
        path: '/',
        name: 'Home',
        component: () => import('@/views/HomeView.vue')
      },
      {
        path: '/demo',
        name: 'Demo',
        component: () => import('@/views/DemoView.vue'),
        meta: {
          hiddenBackground: true
        }
      }
    ]
  },

  { path: '/:pathMatch(.*)*', redirect: '/' }
]
